package com.intube.sso;

import lombok.Data;

/**
 * @author YDF
 * @date 2020/4/8
 */
@Data
public class IntubeResponse<T> {
    private T data;

    public IntubeResponse(T data) {
        this.data = data;
    }

    public static IntubeResponse<String> error(String error) {
        return new IntubeResponse<>(error);
    }
}
